#include "ext2.h"

const struct file_operations ext2_file_operations = {
	// .llseek		= generic_file_llseek,
	.read		= do_sync_read,
	.write		= do_sync_write,
	.aio_read	= generic_file_aio_read,
	.aio_write	= generic_file_aio_write,
	// .unlocked_ioctl = ext2_ioctl,
// #ifdef CONFIG_COMPAT
	// .compat_ioctl	= ext2_compat_ioctl,
// #endif
	// .mmap		= generic_file_mmap,
	.open		= generic_file_open,
	// .release	= ext2_release_file,
	// .fsync		= simple_fsync,
	// .splice_read	= generic_file_splice_read,
	// .splice_write	= generic_file_splice_write,
};

const struct inode_operations ext2_file_inode_operations = {
// 	.truncate	= ext2_truncate,
// #ifdef CONFIG_EXT2_FS_XATTR
// 	.setxattr	= generic_setxattr,
// 	.getxattr	= generic_getxattr,
// 	.listxattr	= ext2_listxattr,
// 	.removexattr	= generic_removexattr,
// #endif
// 	.setattr	= ext2_setattr,
// 	.check_acl	= ext2_check_acl,
// 	.fiemap		= ext2_fiemap,
};
